package cn.iocoder.yudao.module.spot.dto;

import cn.iocoder.yudao.module.spot.entity.PackEntity;
import org.springframework.beans.BeanUtils;

public class PackDto {
    private Long id;
    private String smc; //省  query
    private String dsmc; //市
    private String qxmc; //县
    private String tbbh; // 图斑编号   query
    private Integer bigclassId; //图斑大类 1:历史遗留矿山 2：有责任主体的废弃矿山 3：其他情形  query
    private Integer smallclassId; //图斑小类   query
    private Integer zlqk; //恢复治理情况:0、未治理；1、已恢复治理      query
    private Integer tbsx; //图斑属性  query
    private Integer approveFlag; //审批状态 0：待审 1：归档 2 驳回  query

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSmc() {
        return smc;
    }

    public void setSmc(String smc) {
        this.smc = smc;
    }

    public String getDsmc() {
        return dsmc;
    }

    public void setDsmc(String dsmc) {
        this.dsmc = dsmc;
    }

    public String getQxmc() {
        return qxmc;
    }

    public void setQxmc(String qxmc) {
        this.qxmc = qxmc;
    }

    public String getTbbh() {
        return tbbh;
    }

    public void setTbbh(String tbbh) {
        this.tbbh = tbbh;
    }

    public Integer getBigclassId() {
        return bigclassId;
    }

    public void setBigclassId(Integer bigclassId) {
        this.bigclassId = bigclassId;
    }

    public Integer getSmallclassId() {
        return smallclassId;
    }

    public void setSmallclassId(Integer smallclassId) {
        this.smallclassId = smallclassId;
    }

    public Integer getZlqk() {
        return zlqk;
    }

    public void setZlqk(Integer zlqk) {
        this.zlqk = zlqk;
    }

    public Integer getTbsx() {
        return tbsx;
    }

    public void setTbsx(Integer tbsx) {
        this.tbsx = tbsx;
    }

    public Integer getApproveFlag() {
        return approveFlag;
    }

    public void setApproveFlag(Integer approveFlag) {
        this.approveFlag = approveFlag;
    }

    @Override
    public String toString() {
        return "PackDto{" +
                "id=" + id +
                ", smc='" + smc + '\'' +
                ", dsmc='" + dsmc + '\'' +
                ", qxmc='" + qxmc + '\'' +
                ", tbbh='" + tbbh + '\'' +
                ", bigclassId=" + bigclassId +
                ", smallclassId=" + smallclassId +
                ", zlqk=" + zlqk +
                ", tbsx=" + tbsx +
                ", approveFlag=" + approveFlag +
                '}';
    }

    public  static PackEntity toPackEntity(PackDto dto){
        PackEntity packEntity = new PackEntity();
        BeanUtils.copyProperties(dto,packEntity);
        return packEntity;
    }
}
